//
//  ILOpenAccountManager.h
//  IMILabKit
//
//  Created by Roffa Zhou on 2022/3/11.
//  

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

typedef void(^ILSDKLoginBlock)(NSError * _Nullable);


@interface ILOpenAccountManager : NSObject
+ (instancetype)shared;
/// 认证登录
/// @param authCode 授权code
/// @author rf/2022-03-11
- (void)aliAuthLogin:(NSString*)authCode callback:(ILSDKLoginBlock)callback;
/// 退出登录
- (void)logout;
/// 是否登录
- (BOOL)isLogin;
@end

NS_ASSUME_NONNULL_END
